<%@page import="com.kaishengit.entity.Task"%>
<%@page import="com.kaishengit.entity.Project"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<meta charset="UTF-8">
	<title>公司项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
</head>
<body class="body">
	
	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<a class="brand" href="#">公司项目管理系统</a>
			</div>
		</div>
	</div>
	<%
	request.setCharacterEncoding("UTF-8");
	Project p = new Project();
	p = (Project)request.getAttribute("project"); 
	 %>
	
	<div class="container">
	  <div class="row">
		<div class="span3">
			<div style="padding: 8px 0;" class="well">
				<ul class="nav nav-list">
				  <li class="nav-header"><%=p.getProjectName() %></li>
				  <li class="divider"></li>
				  <li class="active"><a href="#"><i class="icon-white icon-home"></i>最新动态</a></li>
				  <li><a href="goal.jspx?projectid=<%=p.getId()%>"><i class="icon-flag"></i>目标</a></li>
				  <li><a href="document.jspx?projectid=<%=p.getId()%>"><i class="icon-folder-open"></i>资料库</a></li>
				  <li><a href="file.jspx?projectid=<%=p.getId()%>"><i class="icon-file"></i>文件共享</a></li>
				  <li><a href="contact.jspx?projectid=<%=p.getId()%>"><i class="icon-user"></i>联系人</a></li>
				  <li><a href="idea.jspx?projectid=<%=p.getId()%>"><i class="icon-fire"></i>想法</a></li>
				</ul>
			</div>
		</div>
		<div class="span6">
		  
		  	<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;">
				<li class="active">
					<i class="icon-th"></i>你在想什么？
				</li>
			</ul>
			<div class="wall">
				<form style="margin:0px">
					<textarea name="" id="" style="width: 415px;" rows="3"></textarea>
					<button class="btn btn-primary">发布</button>
				</form>
			</div>


			<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:20px">
				<li class="active">
					<i class="icon-th"></i>信息流
				</li>
			</ul>
			<div class="wall">
				
			</div>



		</div>
		<div class="span3">
			<div class="box">
				<div class="head">我的任务</div>
				<ul>
				<%
					List<Task> tlist= new ArrayList<Task>();
					  tlist = (List<Task>)request.getAttribute("tlist");
					  for(Task t:tlist){
				 %>
					<li><a href=""></a><%=t.getTaskName() %></li>
				<%} %>
				</ul>
			</div>
		</div>
	  </div>
	</div>
</body></html>